#include <iostream>
#include "RBTree.h"

void test_insert()
{
	RBTree tree;//定义红黑树
	int a;
	while( std::cin >> a)
	{
		std::cout << std::endl;
		tree.RBInsert(a);
		tree.PrintTree();
	}
	return;
}

int main()
{
	test_insert();	
}
